/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.pojo;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 *
 * @author VuTienIT
 */
public class KhachHangPOJO implements Serializable {
    private String TenTruyCap;
    private String MatKhau;
    private String Email;
    private String NguoiNhan;
    private String SoDienThoai;
    private String SoDTNguoiNhan;
    private int MaKhuVuc;
    private int MaQuan;
    private String DiaChi;
    private Timestamp NgayDangKy;
    private int DiemTichLuy;
    private double SoDuTaiKhoan;
    private int SoBanBeDaMoi;
    private boolean Khoa;
    
    public KhachHangPOJO(){
        this.TenTruyCap = null;
        this.MaKhuVuc = -1;
    }
    
    //Khởi tạo Khách hàng POJO phục vụ cho việc kiểm tra nhập liệu lúc đăng ký
    public KhachHangPOJO(String TenTruyCap,String Email,String SoDienThoai,int MaKhuVuc)
    {
        this.TenTruyCap = TenTruyCap;
        this.Email = Email;
        this.SoDienThoai = SoDienThoai;
        this.MaKhuVuc = MaKhuVuc;
    }
    /**
     * @return the TenTruyCap
     */
    public String getTenTruyCap() {
        return TenTruyCap;
    }

    /**
     * @param TenTruyCap the TenTruyCap to set
     */
    public void setTenTruyCap(String TenTruyCap) {
        this.TenTruyCap = TenTruyCap;
    }

    /**
     * @return the MatKhau
     */
    public String getMatKhau() {
        return MatKhau;
    }

    /**
     * @param MatKhau the MatKhau to set
     */
    public void setMatKhau(String MatKhau) {
        this.MatKhau = MatKhau;
    }

    /**
     * @return the SoDienThoai
     */
    public String getSoDienThoai() {
        return SoDienThoai;
    }

    /**
     * @param SoDienThoai the SoDienThoai to set
     */
    public void setSoDienThoai(String SoDienThoai) {
        this.SoDienThoai = SoDienThoai;
    }

    /**
     * @return the MaKhuVuc
     */
    public int getMaKhuVuc() {
        return MaKhuVuc;
    }

    /**
     * @param MaKhuVuc the MaKhuVuc to set
     */
    public void setMaKhuVuc(int MaKhuVuc) {
        this.MaKhuVuc = MaKhuVuc;
    }

    /**
     * @return the DiemTichLuy
     */
    public int getDiemTichLuy() {
        return DiemTichLuy;
    }

    /**
     * @param DiemTichLuy the DiemTichLuy to set
     */
    public void setDiemTichLuy(int DiemTichLuy) {
        this.DiemTichLuy = DiemTichLuy;
    }

    /**
     * @return the SoDuTaiKhoan
     */
    public double getSoDuTaiKhoan() {
        return SoDuTaiKhoan;
    }

    /**
     * @param SoDuTaiKhoan the SoDuTaiKhoan to set
     */
    public void setSoDuTaiKhoan(double SoDuTaiKhoan) {
        this.SoDuTaiKhoan = SoDuTaiKhoan;
    }

    /**
     * @return the SoBanBeDaMoi
     */
    public int getSoBanBeDaMoi() {
        return SoBanBeDaMoi;
    }

    /**
     * @param SoBanBeDaMoi the SoBanBeDaMoi to set
     */
    public void setSoBanBeDaMoi(int SoBanBeDaMoi) {
        this.SoBanBeDaMoi = SoBanBeDaMoi;
    }

    /**
     * @return the Khoa
     */
    public boolean isKhoa() {
        return Khoa;
    }

    /**
     * @param Khoa the Khoa to set
     */
    public void setKhoa(boolean Khoa) {
        this.Khoa = Khoa;
    }

    /**
     * @return the Email
     */
    public String getEmail() {
        return Email;
    }

    /**
     * @param Email the Email to set
     */
    public void setEmail(String Email) {
        this.Email = Email;
    }

    /**
     * @return the MaQuan
     */
    public int getMaQuan() {
        return MaQuan;
    }

    /**
     * @param MaQuan the MaQuan to set
     */
    public void setMaQuan(int MaQuan) {
        this.MaQuan = MaQuan;
    }

    /**
     * @return the DiaChi
     */
    public String getDiaChi() {
        return DiaChi;
    }

    /**
     * @param DiaChi the DiaChi to set
     */
    public void setDiaChi(String DiaChi) {
        this.DiaChi = DiaChi;
    }

    /**
     * @return the NgayDangKy
     */
    public Timestamp getNgayDangKy() {
        return NgayDangKy;
    }

    /**
     * @param NgayDangKy the NgayDangKy to set
     */
    public void setNgayDangKy(Timestamp NgayDangKy) {
        this.NgayDangKy = NgayDangKy;
    }

    /**
     * @return the NguoiNhan
     */
    public String getNguoiNhan() {
        return NguoiNhan;
    }

    /**
     * @param NguoiNhan the NguoiNhan to set
     */
    public void setNguoiNhan(String NguoiNhan) {
        this.NguoiNhan = NguoiNhan;
    }

    /**
     * @return the SoDTNguoiNhan
     */
    public String getSoDTNguoiNhan() {
        return SoDTNguoiNhan;
    }

    /**
     * @param SoDTNguoiNhan the SoDTNguoiNhan to set
     */
    public void setSoDTNguoiNhan(String SoDTNguoiNhan) {
        this.SoDTNguoiNhan = SoDTNguoiNhan;
    }
    
    @Override
    public String toString() {
        return "TenTruyCap,MatKhau,Email,SoDienThoai,MaKhuVuc,DiemTichLuy,SoDuTaiKhoan,SoBanBeDaMoi,Khoa";
    }
}
